package com.xy.repository;

import com.xy.entity.PleadingsEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface IPleadingsDao extends JpaRepository<PleadingsEntity, Long> {
    @Query(nativeQuery = true,value = "select * from pleadings order by order_num ")
    List<PleadingsEntity> getAllPleadings();
}
